<script src="./js/axios.js"></script>
<script>
    axios.post('http://www.liulongbin.top:3006/api/addbook', { bookname: 'aaa', author: 'bbb', publisher: 'ccc' }).then(function (res) {
        console.log(res);
    })
</script>